archive/tar.Format.mayOnlyBe (method)
11 uses
archive/tar (current package)
common.go#L460: format.mayOnlyBe(FormatPAX)
common.go#L472: format.mayOnlyBe(FormatPAX)
common.go#L486: format.mayOnlyBe(FormatPAX)
common.go#L522: format.mayOnlyBe(wantFormat) // Set union of formats allowed and format wanted
format.go#L110: func (f *Format) mayOnlyBe(f2 Format) { *f &= f2 }
reader.go#L97: format.mayOnlyBe(hdr.Format)
reader.go#L102: format.mayOnlyBe(FormatPAX)
reader.go#L119: format.mayOnlyBe(FormatGNU)
reader.go#L168: format.mayOnlyBe(FormatUSTAR)
reader.go#L236: hdr.Format.mayOnlyBe(FormatPAX)
reader.go#L485: hdr.Format.mayOnlyBe(FormatGNU)
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)